<?php

namespace Pocker\PockerBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * PkAccount
 *
 * @ORM\Table(name="pk_account")
 * @ORM\Entity(repositoryClass="Pocker\PockerBundle\Repository\PkAccountRepository")
 */
class PkAccount
{
    /**
     * @var string
     *
     * @ORM\Column(name="account_id", type="string", length=30, nullable=false)
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $accountId;

    /**
     * @var string
     *
     * @ORM\Column(name="password", type="string", length=120, nullable=false)
     */
    private $password;

    /**
     * @var boolean
     *
     * @ORM\Column(name="del_flg", type="boolean", nullable=false)
     */
    private $delFlg = '0';

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="insert_datetime", type="datetime", nullable=false)
     */
    private $insertDatetime;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="update_datetime", type="datetime", nullable=false)
     */
    private $updateDatetime;



/**
     * Set password
     *
     * @param string $password
     * @return PkAccount
     */
    public function setAccountId($accountId)
    {
        $this->accountId = $accountId;

        return $this;
    }

    /**
     * Get accountId
     *
     * @return string 
     */
    public function getAccountId()
    {
        return $this->accountId;
    }

    /**
     * Set password
     *
     * @param string $password
     * @return PkAccount
     */
    public function setPassword($password)
    {
        $this->password = $password;

        return $this;
    }

    /**
     * Get password
     *
     * @return string 
     */
    public function getPassword()
    {
        return $this->password;
    }

    /**
     * Set delFlg
     *
     * @param boolean $delFlg
     * @return PkAccount
     */
    public function setDelFlg($delFlg)
    {
        $this->delFlg = $delFlg;

        return $this;
    }

    /**
     * Get delFlg
     *
     * @return boolean 
     */
    public function getDelFlg()
    {
        return $this->delFlg;
    }

    /**
     * Set insertDatetime
     *
     * @param \DateTime $insertDatetime
     * @return PkAccount
     */
    public function setInsertDatetime($insertDatetime)
    {
        $this->insertDatetime = $insertDatetime;

        return $this;
    }

    /**
     * Get insertDatetime
     *
     * @return \DateTime 
     */
    public function getInsertDatetime()
    {
        return $this->insertDatetime;
    }

    /**
     * Set updateDatetime
     *
     * @param \DateTime $updateDatetime
     * @return PkAccount
     */
    public function setUpdateDatetime($updateDatetime)
    {
        $this->updateDatetime = $updateDatetime;

        return $this;
    }

    /**
     * Get updateDatetime
     *
     * @return \DateTime 
     */
    public function getUpdateDatetime()
    {
        return $this->updateDatetime;
    }
}
